﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace SistemaAcademicoDAL
{
    public class ProcedureParam
    {
        private String name;
        private SqlDbType type;
        private int size;
        private object value;

        public ProcedureParam(String name, SqlDbType type, int size, object value)
        {
            this.name = name;
            this.type = type;
            this.size = size;
            this.value = value;
        }

        public String Name
        {
            get { return this.name; }
            set { this.name = value; }
        }

        public SqlDbType Type
        {
            get { return this.type; }
            set { this.type = value; }
        }

        public int Size
        {
            get { return this.size; }
            set { this.size = value; }
        }

        public object Value
        {
            get { return this.value; }
            set { this.value = value; }
        }
    }
}
